package com.zros.modules.system.entity;

import io.swagger.annotations.ApiModel;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * 最大用户数量表
 * </p>
 *
 * @author pangyinqiang
 * @since 2019-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sys_user_num")
@ApiModel(value="TSysUserNum对象", description="最大用户数量表")
public class TSysUserNum extends Model<TSysUserNum> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_num_id", type = IdType.AUTO)
    private Integer userNumId;

    private Integer maxUserNum;


    @Override
    protected Serializable pkVal() {
        return this.userNumId;
    }

}
